trapp {display:block;
    border-bottom: 100px solid red;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    height: 0;
    width: 100px;
}

rectgl {display:block;
    border-bottom: 100px solid red;
    height: 0;
    width: 100px;
}